9.8
CRITICAL CVSS 3.1
CVE-2024-3660
TensorFlow Keras Framework Code Injection Vulnerability
Description

A arbitrary code injection vulnerability in TensorFlow's Keras framework (<2.13) allows attackers to execute arbitrary code with the same permissions as the application using a model that allow arbitrary code irrespective of the application.

INFO

Published Date :

April 16, 2024, 9:15 p.m.

Last Modified :

Nov. 21, 2024, 9:30 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2024-3660 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Google tensorflow
1 Keras keras
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 CRITICAL 134c704f-9b21-4f2e-91b3-4a467353bcc0
Solution
This information is provided by the 3rd party feeds.
  • Upgrade to Keras version 2.13 or later.
Public PoC/Exploit Available at Github

CVE-2024-3660 has a 5 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-3660.

URL Resource
https://kb.cert.org/vuls/id/253266
https://www.kb.cert.org/vuls/id/253266
https://kb.cert.org/vuls/id/253266
https://www.kb.cert.org/vuls/id/253266
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-3660 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-3660 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

A PoC for CVE-2024-3660. Arbitrary Code Execution in Keras.

Dockerfile

Updated: 1 week, 2 days ago
0 stars 0 fork 0 watcher
Born at : Aug. 15, 2025, 7:02 p.m. This repo has been linked 1 different CVEs too.

None

Python

Updated: 1 month, 1 week ago
0 stars 0 fork 0 watcher
Born at : July 14, 2025, 4:55 a.m. This repo has been linked 1 different CVEs too.

CVE POC repo 자동 수집기

Python

Updated: 8 hours, 34 minutes ago
0 stars 1 fork 1 watcher
Born at : June 8, 2025, 3:07 p.m. This repo has been linked 125 different CVEs too.

A curated list of awesome resources about LLM supply chain security (including papers, security reports and CVEs)

Updated: 1 month, 1 week ago
81 stars 4 fork 4 watcher
Born at : Nov. 9, 2024, 6:11 a.m. This repo has been linked 4 different CVEs too.

📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.

security cve exploit poc vulnerability

Updated: 1 hour, 4 minutes ago
7213 stars 1201 fork 1201 watcher
Born at : Dec. 8, 2019, 1:03 p.m. This repo has been linked 805 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-3660 vulnerability anywhere in the article.

  • The Hacker News
Meta's Llama Framework Flaw Exposes AI Systems to Remote Code Execution Risks

A high-severity security flaw has been disclosed in Meta's Llama large language model (LLM) framework that, if successfully exploited, could allow an attacker to execute arbitrary code on the llama-st ... Read more

Published Date: Jan 26, 2025 (6 months, 4 weeks ago)

The following table lists the changes that have been made to the CVE-2024-3660 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://kb.cert.org/vuls/id/253266
    Added Reference https://www.kb.cert.org/vuls/id/253266
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Aug. 01, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 CISA-ADP AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Received by [email protected]

    Apr. 16, 2024

    Action Type Old Value New Value
    Added Description A arbitrary code injection vulnerability in TensorFlow's Keras framework (<2.13) allows attackers to execute arbitrary code with the same permissions as the application using a model that allow arbitrary code irrespective of the application.
    Added Reference CERT/CC https://kb.cert.org/vuls/id/253266 [No types assigned]
    Added Reference CERT/CC https://www.kb.cert.org/vuls/id/253266 [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 9.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact